<?php
/**
 * Created by PhpStorm.
 * User: jiangtaiping
 * Date: 2017/2/23
 * Time: 11:31
 */
$_config['permission'] = array(
    /**
     * 基本拥有的访问
     */
    'basic'=>array(
        '/admin/main/index',
        '/admin/main/top',
        '/admin/main/left',
        '/admin/main/border',
        '/admin/main/main',
    ),
    /**
     * 需要配置的访问
     */
    'manager'=>array(
        /**
         * 后台基本功能
         */
        '/admin/main/edit' => '修改个人密码',
        /**
         * 小红薯管理
         */
        '/admin/order/list' => '小红薯订单列表',

        '/admin/order/ordermodify' => '小红薯订单修改',


        /**
         * 超级管理员功能
         */
        '/admin/manager/default' => '用户管理',
        '/admin/manager/modify' => '修改账号',
        '/admin/manager/delete' => '删除账号',
        '/admin/manager/group' => '查看用户组',
        '/admin/manager/groupmodify' => '修改用户组',
        '/admin/manager/groupdelete' => '删除用户组',
        '/admin/actionlog/list' => '后台操作日志',
    ),

    /**
     * 基本拥有的访问
     */
    'basic_xhs'=>array(
        '/adminmall/main/index',
        '/adminmall/main/top',
        '/adminmall/main/left',
        '/adminmall/main/border',
        '/adminmall/main/main',
    ),

    /**
     * 需要配置的访问
     */
    'manager_xhs' => array(
        /**
         * 后台基本功能
         */
        '/adminmall/main/edit' => '修改个人密码',
        /**
         * 用户管理
         */
        '/adminmall/user/list' => '用户管理',
        '/adminmall/user/modifystatus' => '用户修改',
        /**
         * 订单管理
         */
        '/adminmall/order/list' => '订单列表',
        '/adminmall/order/ordermodify' => '订单修改',
        '/adminmall/order/orderdeal' => '订单处理',
        '/adminmall/order/tips' => '新订单提醒',
        /**
         * 商品管理
         */
        '/adminmall/goods/list' => '商品列表',
        '/adminmall/goods/add' => '商品添加',
        '/adminmall/goods/save' => '商品修改',
        '/adminmall/goods/del' => '商品删除',
        '/adminmall/goods/categorylist' => '商品分类列表',
        '/adminmall/goods/categorymodify' => '商品分类修改',
        '/adminmall/goods/categorydel' => '商品分类添加',
        /**
         * 连锁店管理
         */
        '/adminmall/shop/list' => '连锁店列表',
        '/adminmall/shop/del' => '连锁店删除',
        '/adminmall/shop/look' => '店铺详情',
        '/adminmall/shop/clerk' => '店员管理',
        '/adminmall/shop/clerkModify' => '修改店员信息',
        '/adminmall/shop/clerkDel' => '删除店员',


        /*
         * 收入统计
         */
        '/adminmall/user/tj' => '连锁店收入统计',
        '/adminmall/user/tjadmin' => '商城收入统计',

        /**
         * 超级管理员功能
         */
        '/adminmall/manager/default' => '用户管理',
        '/adminmall/manager/modify' => '修改账号',
        '/adminmall/manager/delete' => '删除账号',
        '/adminmall/manager/group' => '查看用户组',
        '/adminmall/manager/groupmodify' => '修改用户组',
        '/adminmall/manager/groupdelete' => '删除用户组',
        '/adminmall/actionlog/list' => '后台操作日志',
)
);
